# coding=utf-8
import ConfigParser

from rpialert import app


class BaseSV:
    def __init__(self):
        cf = ConfigParser.ConfigParser()
        cf.read(app.config['RPIALERT_CONF'])
        host = cf.get("local_server_host", "host")
        self.host = host
